-- GENERATED SPELL FOR [Stranglethorn Tiger] --


function spell0_682(pUnit, Event) --@Claw,n/a--
pUnit:FullCastSpellOnTarget(16831,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_682', 622, 1)
end

function spell1_682(pUnit, Event) --@Growl,n/a--
pUnit:FullCastSpellOnTarget(14918,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_682', 0, 1)
end

function spell2_682(pUnit, Event) --@Rake,n/a--
pUnit:FullCastSpellOnTarget(59883,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_682', 9000, 1)
end

function Sorts_682(pUnit, Event)
local choix_sorts_682 = math.random(0, 2)
if choix_sorts_682 == 0 then
pUnit:RegisterEvent('spell0_682', 1, 1)
end
if choix_sorts_682 == 1 then
pUnit:RegisterEvent('spell1_682', 1, 1)
end
if choix_sorts_682 == 2 then
pUnit:RegisterEvent('spell2_682', 1, 1)
end
end

function mob682_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_682', math.random(1500, 3000), 1)
end

function mob682_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob682_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob682_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(682, 1, 'mob682_Action')
RegisterUnitEvent(682, 2, 'mob682_Leave')
RegisterUnitEvent(682, 3, 'mob682_Kill')
RegisterUnitEvent(682, 4, 'mob682_Die')
